package com.xmb.quick.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xmb.quick.entity.SysRolePermission;
import com.xmb.quick.mapper.SysRolePermissionMapper;
import com.xmb.quick.service.ISysRolePermissionService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huangping
 * @since 2020-03-07
 */
@Service
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionMapper, SysRolePermission> implements ISysRolePermissionService {

	@Override
	public List<SysRolePermission> selectInfoList(Wrapper<SysRolePermission> where) {
		return selectList(where);
	}

	@Override
	public void remove(Wrapper<SysRolePermission> ew) throws Exception {
		delete(ew);
	}

	@Override
	public void add(List<SysRolePermission> list) {
		insertBatch(list);
	}

}
